package com.hqyj.ssm_project.service;

import com.hqyj.ssm_project.pojo.Function;
import com.hqyj.ssm_project.pojo.Role_Function;
import com.hqyj.ssm_project.pojo.User;

import java.util.List;

public interface FunctionService {
    int deleteByPrimaryKey(Integer functionId);

    int insert(Function row);

    int insertSelective(Function row);

    Function selectByPrimaryKey(Integer functionId);

    int updateByPrimaryKeySelective(Function row);

    int updateByPrimaryKey(Function row);

    List<Function> selectAllfunction();

    List<Function> selectFunctionByRoleId(Integer roleId);

    List<Role_Function> selectFunctionOneTableByRoleId(Integer roleId);

    List<Function> selectFunctionByUser(User result);
}
